from enum import Enum
from pydantic import BaseModel


class IDModelMixin(BaseModel):
    id: int


class Status(str, Enum):
    active = "active"
    inactive = "inactive"


class Create(BaseModel):
    name: str
    status: Status


class Update(BaseModel):
    name: str
    status: Status
